package auto.app.controller.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("新增变量")
public class VariableAdd {

    /**
     * 变量名
     */
    @ApiModelProperty("变量名")
    @NotNull(message = "变量名不能为空")
    private String variableName;

    /**
     * 变量值
     */
    @ApiModelProperty("变量值")
    @NotNull(message = "变量值")
    private String variableValue;


    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

}
